<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <title>设备产能分析</title>
</head>

<body>
  <div id="app">
    <div style="margin: 20px 0px 20px 10px" v-cloak>
      <span>请选择您要查询的月份：</span>
      <el-date-picker v-model="searchMonth" type="month" placeholder="选择月" @change="searchEquipmentCapacityBeansByMonth"></el-date-picker>
    </div>
    <el-table :data="equipmentCapacityBeans" border style="width: 100%">
      <el-table-column prop="process" label="工序" width="180">
      </el-table-column>
      <el-table-column prop="processNumber" label="加工设备数量" width="180">
      </el-table-column>
      <el-table-column prop="avgEveryPairProcessTime" label="平均每付加工时间">
      </el-table-column>
      <el-table-column prop="lowestPairProcessTime" label="最低单付加工时间">
      </el-table-column>
      <el-table-column prop="maxProductionOfMonth" label="月可最高生产数">
      </el-table-column>
    </el-table>
  </div>
</body>

<script src="../../myJs/importFile.js"></script>
<script>
  importFile(["../base.css"]);
</script>
<script>
  var app = new Vue({
    el: "#app",
    data: {
      searchMonth: '',
      equipmentCapacityBeans: []
    },
    methods: {
      searchEquipmentCapacityBeansByMonth: function (searchMonth) {
        console.info(searchMonth);
      }
    }
  });
</script>


</html>